# -*- coding: utf-8 -*-
# Nola
from collections import defaultdict

RATE_OF_FLOW = defaultdict(list)

INCOMING = 0
OUTGOING = 1


# 流量类型 入/出   # 网络类型 无线网/办公网
RATE_OF_FLOW[INCOMING] = 'ifHCInOctets[ethernet%s]'
RATE_OF_FLOW[OUTGOING] = 'ifHCOutOctets[ethernet%s]'

GROUP_li = [
    {'groupid': '19', 'name': 'NCF-TO-IDC'},
    {'groupid': '16', 'name': 'Network-Core'},
    {'groupid': '17', 'name': 'Network-H3C-Swtich'},
    {'groupid': '24', 'name': 'Network-H3C-AP'},
    {'groupid': '21', 'name': 'Vmware'}
]

# HOST_LI = [
#     {'hostid': 10674},
#     {'hostid': 10420}
# ]